package com.moliku.insurance.process.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.moliku.insurance.process.mapper.InsuranceCarDetailMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.moliku.insurance.model.dto.wuTong.InsuranceCarDetail;
import com.moliku.insurance.process.service.InsuranceCarDetailService;

/**
 * @Description: 梧桐车险--车险详情
 * @Author: yws
 * @Date: 2021/3/31 15:28
 */
@Service
public class InsuranceCarDetailServiceImpl extends ServiceImpl<InsuranceCarDetailMapper, InsuranceCarDetail> implements InsuranceCarDetailService {
    @Autowired
    private InsuranceCarDetailMapper carDetailMapper;

    @Override
    public InsuranceCarDetail selectCarDetailByProposalFormId(String selectCarByProposalFormId) {
        return carDetailMapper.selectCarDetailByProposalFormId(selectCarByProposalFormId);
    }

    @Override
    public InsuranceCarDetail selectCarDetailByPolicyNo(String policyNo) {
        return carDetailMapper.selectCarDetailByPolicyNo(policyNo);
    }
}
